<?php

namespace App\Models;

/**
 * App\Models\FeedDynamic
 * This is the model class for table "feed_dynamic".
 *
 * @property int $id
 * @property string $dynamic_id 动态id
 * @property string $user_id 用户id
 * @property int $is_view 是否可见，0否1是
 * @property int $is_deleted 0正常，1删除
 * @property int $created_at 创建时间
 * @property int $updated_at 最后修改时间戳
 * @property int $apply_at 动态创建时间
 * @method static \Illuminate\Database\Eloquent\Builder|FeedDynamic newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FeedDynamic newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|FeedDynamic query()
 */
class FeedDynamic extends BaseModel
{

    protected $table = "feed_dynamic";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'apply_at'   => 'timestamp',
        'created_at' => 'timestamp',
        'updated_at' => 'timestamp',
    ];


}
